<!-- pageFooter -->
<template>
  <el-pagination
    :current-page="params.current"
    :page-sizes="[10]"
    :page-size="params.size"
    layout="total, sizes, prev, pager, next, jumper"
    :total="total"
    @current-change="handleCurrentChange"
  />
</template>

<script>
export default {
  props: {
    params: {
      type: Object,
      default: () => {}
    },
    total: {
      type: Number,
      default: 0
    }
  },
  data() {
    return {
    }
  },
  methods: {
    // handleSizeChange(val) {
    //   this.$emit('SizeChange', val)
    // },
    handleCurrentChange(val) {
      this.$emit('CurrentChange', val)
    }
  }

}

</script>
<style lang='less' scoped>
</style>
